package com.fh.shop.api.common;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class DataTableReponse implements Serializable {

    private Long draw;

    private Long recordsTotal;

    private Long recordsFiltered;

    private List data;

    public DataTableReponse() {

    }

    public DataTableReponse(Long draw, Long recordsTotal, Long recordsFiltered, List data) {
        this.data = data;
        this.draw = draw;
        this.recordsFiltered = recordsFiltered;
        this.recordsTotal = recordsTotal;
    }


}
